/*
 * Copyright (c) 2010-2020 IISI.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of IISI.
 */
package com.iisigroup.log.analysis.rdbms.model;

import java.io.Serializable;
 
/**
 * The Class StackTrace.
 */
public class StackTrace implements Serializable {

    /** The Constant serialVersionUID. */
    private static final long serialVersionUID = -785343865077358195L;
    //================================================
    //== [Enumeration types] Block Start
    //== [Enumeration types] Block End 
    //================================================
    //== [static variables] Block Start
    //== [static variables] Block Stop 
    //================================================
    //== [instance variables] Block Start
    /** The uid. */
    private Integer uid;
    
    /** The stack trace. */
    private String stackTrace;
    
    /** The key cause. 填入大概的發生原因也許是2A10作業..也是DB問題...也許是JMS */
    private String keyCause;

   
    
    //== [instance variables] Block Stop 
    //================================================
    //== [static Constructor] Block Start
    //== [static Constructor] Block Stop 
    //================================================
    //== [Constructors] Block Start (含init method)
    //== [Constructors] Block Stop 
    //================================================
    //== [Static Method] Block Start
    //== [Static Method] Block Stop 
    //================================================
    //== [Accessor] Block Start
    /**
     * Gets the uid.
     *
     * @return the uid
     */
    public Integer getUid() {
        return this.uid;
    }

    /**
     * Sets the uid.
     *
     * @param uid the new uid
     */
    public void setUid(Integer uid) {
        this.uid = uid;
    }

    /**
     * Gets the stack trace.
     *
     * @return the stack trace
     */
    public String getStackTrace() {
        return this.stackTrace;
    }

    /**
     * Sets the stack trace.
     *
     * @param stackTrace the new stack trace
     */
    public void setStackTrace(String stackTrace) {
        this.stackTrace = stackTrace;
    }

    /**
     * Gets the key cause.
     *
     * @return the key cause
     */
    public String getKeyCause() {
        return this.keyCause;
    }

    /**
     * Sets the key cause.
     *
     * @param keyCause the new key cause
     */
    public void setKeyCause(String keyCause) {
        this.keyCause = keyCause;
    }
    //== [Accessor] Block Stop 
    //================================================
    //== [Overrided Method] Block Start (Ex. toString/equals+hashCode)
    //== [Overrided Method] Block Stop 
    //================================================
    //== [Method] Block Start
    //####################################################################
    //## [Method] sub-block : 
    //####################################################################    
    //== [Method] Block Stop 
    //================================================
    //== [Inner Class] Block Start
    //== [Inner Class] Block Stop 
    //================================================
}
